'use strict';

/**
 * The main MVC app module.
 *
 * @type {angular.Module}
 */

var footerModule = angular.module('footerModule', ['ngAnimate', 'ui.bootstrap', 'ngSanitize']);

	footerModule.factory('ListesManager', ['$http', '$rootScope', function($http) {
		return new ListesManagerModel($http);
	}]);
	
	footerModule.factory('StringManager', ['$http', '$rootScope', function($http, $rootScope) {
		return new StringManagerModel($http, $rootScope);
	}]);

	footerModule.directive('retireraccents', ['StringManager', function factory(StringManager) {
	    return new RetirerAccentsDirective(StringManager);
	}]);

    footerModule.controller('FooterNewsletterController', ['$scope', 'ListesManager', 'StringManager', FooterNewsletterController]);
